default:example
CC = gcc-6
CFLAGS = -fopenmp
#CLIBS = -openmp
example:main.o testOmp.o
	$(CC) $(CFLAGS) main.o testOmp.o -o example
main.o:main.c testOmp.h
	$(CC) $(CFLAGS) -c main.c
testOmp.o:testOmp.c testOmp.h
	$(CC) $(CFLAGS) -c testOmp.c
clean:
	rm -rf ./*.o example

#最终的结果是gcc-7